package com.haoqizhe.kernel.mybatis.generator.types;

import org.mybatis.generator.api.dom.java.FullyQualifiedJavaType;
import org.mybatis.generator.internal.types.JavaTypeResolverDefaultImpl;

/**
 * @author haoqizhe.li
 * @date 2019/6/24 22:51
 **/
public class MyJavaTypeResolverImpl extends JavaTypeResolverDefaultImpl {

    public MyJavaTypeResolverImpl (){
        super.typeMap.put(-6,new JavaTypeResolverDefaultImpl.JdbcTypeInformation("TINYINT", new FullyQualifiedJavaType(Integer.class.getName())));
    }
}
